package org.csu.laboratoryequipment.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("equipment")
@AllArgsConstructor
@NoArgsConstructor
public class Equipment implements Serializable {

    /**
     * 器材id
     */
    @TableId(value = "EquipmentID")
    private String EquipmentID;

    /**
     * 器材名称
     */
    @TableField(value = "Name")
    private String Name;

    /**
     * 器材数量
     */
    @TableField(value = "Quantity")
    private int Quantity;

    /**
     * 器材状态：可用，已借完，维修中
     */
    @TableField(value = "Status")
    private String Status;

    /**
     * 规格
     */
    @TableField(value = "Specifications")
    private String Specifications;

    /**
     * 购买日期
     */
    @TableField(value = "PurchaseDate")
    private Date PurchaseDate;

    /**
     * 购买价格
     */
    @TableField(value = "PurchasePrice")
    private double PurchasePrice;

    /**
     * 备注
     */
    @TableField(value = "Remarks")
    private String Remarks;
}
